package com.ruoyi.bussiness.service;

import java.util.List;
import com.ruoyi.bussiness.domain.SysBusinessPolicy;
import com.ruoyi.common.core.domain.AjaxResult;

/**
 * 业务_政策Service接口
 * 
 * @author ruoyi
 * @date 2024-01-18
 */
public interface ISysBusinessPolicyService 
{
    /**
     * 查询业务_政策
     * 
     * @param policyId 业务_政策主键
     * @return 业务_政策
     */
    public SysBusinessPolicy selectSysBusinessPolicyByPolicyId(Long policyId);

    /**
     * 查询业务_政策列表
     * 
     * @param sysBusinessPolicy 业务_政策
     * @return 业务_政策集合
     */
    public List<SysBusinessPolicy> selectSysBusinessPolicyList(SysBusinessPolicy sysBusinessPolicy);

    /**
     * 新增业务_政策
     * 
     * @param sysBusinessPolicy 业务_政策
     * @return 结果
     */
    public int insertSysBusinessPolicy(SysBusinessPolicy sysBusinessPolicy);

    /**
     * 修改业务_政策
     * 
     * @param sysBusinessPolicy 业务_政策
     * @return 结果
     */
    public int updateSysBusinessPolicy(SysBusinessPolicy sysBusinessPolicy);

    /**
     * 批量删除业务_政策
     * 
     * @param policyIds 需要删除的业务_政策主键集合
     * @return 结果
     */
    public int deleteSysBusinessPolicyByPolicyIds(Long[] policyIds);

    /**
     * 删除业务_政策信息
     * 
     * @param policyId 业务_政策主键
     * @return 结果
     */
    public int deleteSysBusinessPolicyByPolicyId(Long policyId);

    /**
     * @Author shining
     * @Description 政策的上移和下移
     * @Date 11:29 2024/7/16
     * @Param [entity]
     * @return com.ruoyi.common.core.domain.AjaxResult
     **/
    AjaxResult moveUpOrDown(SysBusinessPolicy entity);


    /**
     * @Author shining
     * @Description 政策的置顶和置底
     * @Date 11:29 2024/7/16
     * @Param [entity]
     * @return com.ruoyi.common.core.domain.AjaxResult
     **/
    AjaxResult pinToTopOrEnd(SysBusinessPolicy entity);
}
